﻿namespace Base.FileRemoteModel.Pdf.Model
{
    public enum WritePdfSignType
    {
        RSA = 0,
        SM2 = 1,
    }
    public class WritePdfSign
    {
        /// <summary>
        /// 页码
        /// </summary>
        public int Index
        {
            get;
            set;
        }
        /// <summary>
        /// 签名文件ID
        /// </summary>
        public long SignFileId
        {
            get;
            set;
        }
        /// <summary>
        /// 证书密码
        /// </summary>
        public string CertPwd
        {
            get;
            set;
        }
        /// <summary>
        /// 签名类型    
        /// </summary>
        public WritePdfSignType SignType
        {
            get;
            set;
        }
        /// <summary>
        /// 文件ID
        /// </summary>
        public long FileId
        {
            get;
            set;
        }
        /// <summary>
        /// 宽度
        /// </summary>
        public int Width
        {
            get;
            set;
        }
        /// <summary>
        /// 高度
        /// </summary>
        public int Height
        {
            get;
            set;
        }
        public int X
        {
            get;
            set;
        }
        public int Y
        {
            get;
            set;
        }
        /// <summary>
        /// 原因
        /// </summary>
        public string Reason { get; set; }
        /// <summary>
        /// 位置说明
        /// </summary>
        public string Location { get; set; }
    }
}
